﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using SystemDirectory.DAO;
using SystemDirectory.Common;
using SystemDirectory.Entity;

namespace SystemDirectory.Biz
{
    public class BOProgramme
    {
        public DataTable Get(bool isCheck, Utilities.SearchType IsSearch)
        {
            DAOProgramme daoProgramme = new DAOProgramme();
            DataTable dtResult = daoProgramme.Get(isCheck, IsSearch);
            return dtResult;
        }
        public bool AddProgramme(Programme pg)
        {
            DAOProgramme daoProgramme = new DAOProgramme();
            return daoProgramme.AddProgramme(pg);
        }
        public bool UpdateProgramme(Programme pg)
        {
            DAOProgramme daoProgramme = new DAOProgramme();
            return daoProgramme.UpdateProgramme(pg);
        }
        public Programme GetByID(int id)
        {
            DAOProgramme daoProgramme = new DAOProgramme();
            Programme pg = daoProgramme.GetByID(id);
            return pg;
        }
    
    }


}
